package oo8;

import java.util.Scanner;

public class Div2 {

	public static void main(String[] args) {
		// 异常处理
		Scanner in = new Scanner(System.in);

		try {
			System.out.println("请输入被除数：");
			int a = in.nextInt();
			System.out.println("请输入除数：");
			int b = in.nextInt();

			int c = a / b;
			System.out.println("商是：" + c);
		} catch (Exception e) {
			System.out.println("出现问题了。。。。。。。。");
			e.printStackTrace();
		}
		System.out.println("除法计算结束了");
	}

}
